package xyz.jpcr.covid19app.Api;

import java.util.ArrayList;
import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import xyz.jpcr.covid19app.Model.World;
import xyz.jpcr.covid19app.Model.WorldWiseResults.WorldWiseResults;

public interface OverallApiInterface {

    @GET("all")
    Call<World> getWorldData();

    @GET("countries")
    Call<ArrayList<WorldWiseResults>> getWorldWiseData();

}
